package com.zyk.scaffold.common.enums;

public enum ModuleEnum{
    COMMON(100, "公共模块"),
    OAUTH(110, "授权认证"),
    USER(120, "系统模块"),
    TCP(900, "TCP模块");

    private final int code;
    private final String desc;

    ModuleEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return this.code;
    }

    public String getDesc() {
        return this.desc;
    }
}
